<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title> {$post.post_title}|{:get_opinion('title')} </title>
    <meta name="description" content="{:get_opinion('description')}">
    <meta name="keywords" content="{:get_opinion('keywords')}"/>
    <meta name="author" content="greenstudio"/>

    <meta name="viewport" content="width=device-width">

    <include file="Public:head"/>
    <style>.thumbnail > img {
        max-width: 50%;
    }</style>
    {:hook('pageHeader', "")}

</head>

<body>
{:hook('userHeader', "")}
{:W('Widget/menuHead')}

<div id="mainContent">
    <div class="wrap">
        <div class="leftSide" >
            <div class="sideTitle">
                <span><h2>{$menu_title}</h2></span>
            </div>
            <div class="subMenu">
                <ul>
                    <volist name="home_menu" id="menu_item">
                        <volist name="menu_item['menu_children']" id="menu_item_child">
                            <li><a href="{$menu_item_child['menu_abs_url']}">{$menu_item_child['menu_name']}</a>
                            </li>
                        </volist>
                    </volist>
                </ul>
            </div>
        </div>
        <div class="rightSide">
            <div class="content">
                <div class="articleTitle">
                    <span><h1>{$post.post_top|is_top}{$post.post_title}</h1></span>
                </div>
                <div class="articleInfo">
                    <span>发布日期：{$post['post_date']|getTimeURL=$post['post_type']}</span>
                    <span>作者：{$post.post_user.user_nicename}</span>
                    <control access="Admin/Posts/posts">
                        <a href="{:U('Admin/Posts/posts',array('id'=>$post['post_id']))}">编辑</a>
                    </control>
                </div>
                <div class="articleContent">
                    <p id="post_content">{$post.post_content}</p>
                </div>
            </div>

            <div class="option"><!--//修改了翻篇的顺序，使其更符合习惯。-->
                <span class="previous"><img class="arrow" src="__PUBLIC__/bwc/img/previousArrow.png" />上一篇：{$post['post_id']|get_previous_post=$post['post_cat']|is_empty='没有了'}</a></span>
                <span class="next">下一篇：{$post['post_id']|get_next_post=$post['post_cat']|is_empty='没有了'}<img class="arrow" src="__PUBLIC__/bwc/img/nextArrow.png" /></span>
            </div>
        </div>
    </div>
</div>


<include file="Public:bottom"/>

<include file="Public:footer"/>

<include file="Public:foot"/>
{:hook('pageFooter', "")}

</body>
</html>